package com.unknow.first.dapp.admin.account.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName t_address_coin_config
 */
@TableName(value = "t_address_coin_config")
@Data
@EqualsAndHashCode
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class AddressCoinConfig implements Serializable {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer addressAccountCoinId;

    /**
     * 币种id
     */
    private Integer coinId;

    /**
     * 名称
     */
    private String coinName;

    /**
     * 简称
     */
    private String coinSymbol;

    /**
     * 代币的链上精度位数
     */
    private Integer coinDecimals;

    /**
     * 支付合约地址，如果没有上链，可以为空
     */
    private String payContract;

    /**
     * token的合约地址，如果没有上链可以为空
     */
    private String tokenContract;

    /**
     * 转账状态（10-开启；20-关闭）
     */
    private Integer transferStatus;

    /**
     * 10：可用 99：禁用
     */
    private Integer status;

    /**
     *
     */
    private String createdBy;

    /**
     *
     */
    private Date createdDate;

    /**
     *
     */
    private String updatedBy;

    /**
     *
     */
    private Date updatedDate;


    /**
     * 费率币种id
     */
    private Integer chargeCoinId;

    private Integer withdrawChargeType;

    /**
     * 转账费率
     */
    private BigDecimal withdrawCharge;


    /**
     * 提现限额，超出些限额需要审核
     */
    private BigDecimal withdrawAuthLimit;


    /**
     * 每日提现限额，超出此限额不能提现
     */
    private BigDecimal withdrawPerDayLimit;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



}